obj-m :=gpio_led.o
#module-objs := file1.o file.o
KDIR :=/lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
all:      
	$(MAKE)  -C  $(KDIR)  SUBDIRS=$(PWD)  modules  
	@rm -rf *.mod.*  
	@rm -rf .*.cmd  
	@rm -rf *.o  
	@rm -rf Module.*  
clean:  
	rm -rf *.ko  

test:
	gcc test.c
